home *** CD-ROM | disk | FTP | other *** search
/ Nebula 2 / Nebula Two.iso / NextAnswers / 1297_undoing_a_netinfo_clone_server.rtf < prev    next >
Text File  |  1995-06-12  |  3KB  |  91 lines

  1. {\rtf0\ansi{\fonttbl\f2\fnil Times-Roman;\f1\fmodern Courier;\f3\fmodern Ohlfs;}
  2. \paperw11560
  3. \paperh12280
  4. \margl120
  5. \margr120
  6. {\colortbl;\red0\green0\blue0;}
  7. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\b0\i0\ulnone\fs28\fc0\cf0 Q:  How can I undo a NetInfo clone server?  That is, make it a simple client and no longer a NetInfo clone server.\
  8. \
  9. A:  We'll describe here how to undo a clone server and turn the system into a regular NetInfo client machine.  Undoing a clone server requires several steps: first you must let NetInfo know that the clone is not serving the domain anymore, then you must remove the database and finally perform some clean up work.\
  10. \
  11.  
  12. \b Note:
  13. \b0  Replace 
  14. \i clone
  15. \i0  with the actual name of your clone server. This NeXTanswer assumes a standard 2 level NetInfo hierarchy with a root (/) domain tagged network. If you have a multi-level NetInfo domain, see the comments at the end of this document.\
  16. \
  17.  
  18. \b\fi-980\li980 1)
  19. \b0     Launch NetInfoManager, open the root domain. In the Domain window, locate the machine 
  20. \i clone 
  21. \i0 in the machines directory and double-click it. Now remove the ./network value of the serves property in the Directory window for the machine 
  22. \i clone
  23. \i0 .\
  24.  
  25. \fi0\li0 \
  26.  
  27. \b\fi-980\li980 2)
  28. \b0     Launch the Terminal application. If you are not logged in as root, use the 
  29. \b su
  30. \b0  command to gain superuser privileges. Issue the following command to remove the clone database:\
  31.  
  32. \fi0\li0 \
  33.  
  34. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f1\fs24\fc1\cf1         
  35. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\fc0\cf0 clone# 
  36. \b nidomain -d network
  37. \b0 \
  38.  
  39. \f2\fs28 \
  40.  
  41. \b\fi-980\li980 3)
  42. \b0     Edit the 
  43. \b /etc/hostconfig
  44. \b0  file and change the following fields to the values shown here:\
  45.  
  46. \fi0\li0 \
  47.  
  48. \pard\tx520\tx1060\tx1600\tx2120\tx2660\tx3200\tx3720\tx4260\tx4800\tx5320\f1\fs24\fc1\cf1         HOSTNAME=
  49. \b -AUTOMATIC-
  50. \b0 \
  51.         INETADDR=
  52. \b -AUTOMATIC-
  53. \b0 \
  54.         NETMASTER=
  55. \b -NO-
  56. \b0 \
  57.  
  58. \pard\tx960\tx1920\tx2880\tx3840\tx4800\tx5760\tx6720\tx7680\tx8640\tx9600\f2\fs28\fc0\cf0 \
  59.  
  60. \b\fi-980\li980 4)
  61. \b0     Reboot the machine 
  62. \i clone
  63. \i0 .\
  64.  
  65. \fi0\li0 \
  66.  
  67. \b Comments
  68. \b0  for multi-level NetInfo domains\
  69. \
  70. If you have more than a 2-level hierarchy, make sure that you remove the serves property in your 3rd level domain for the machine 
  71. \i clone
  72. \i0 . Edit the machines entry for the machine 
  73. \i clone
  74. \i0  in the 3rd level domain analogously to step 1. Remove the 
  75. \i domain
  76. \i0 /network property, where 
  77. \i domain
  78. \i0  is the actual name of the domain that 
  79. \i clone
  80. \i0  is serving.\
  81. \
  82. If 
  83. \i clone
  84. \i0  is serving domains other than the local domain, then skip step 3.\
  85. \
  86. You can remove clones for other domains in you multi-level NetInfo domain in the same way as described above.\
  87. \
  88. QA609\
  89. \
  90.  
  91.